remotemanager.connection.testing_object module

class remotemanager.connection.testing_object.ConnectionTest(parent)[source]

Object to store an instance of a connection test.

Runs the tests, storing any important information

Parameters:

parent – parent URL

exec() None[source]

Execute the connection test

test_basic() bool[source]

Connects to the host and returns the entry directory

Returns:

True if test succeeded

Return type:

(bool)

test_files() bool[source]

Attempts to create and delete files in several directories

Returns:

True if test succeeded

Return type:

(bool)

test_transport() bool[source]

Tests all available transport methods, returning True if at least one is functional

Returns:

True if test succeeded

Return type:

(bool)